package com.itheima.common.entity;

import lombok.*;

import java.util.List;

/**
 * @Author IntelliJ IDEA
 * @Date 2020/11/5 14:08
 * @Version 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@ToString
@EqualsAndHashCode
public class PageResult<T> {
    /**
     * 总记录数
     */
    private Long total;

    /**
     * 当前页的内容数据
     */
    private List<T> rows;
}
